/*
 * Copyright (C) 2010 M. Hautle.
 * 
 * This file is part of SimpleEL.
 * 
 * SimpleEL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation, either version 3 of the License, or (at your option) any later version.
 * 
 * SimpleEL is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
 * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
 * 
 * You should have received a copy of the GNU Lesser General Public License along with SimpleEL. If not, see <http://www.gnu.org/licenses/>.
 */
package ch.simpleel.data;

import java.util.*;

/**
 * Bean with {@link Collection} types.
 * 
 * @author M. Hautle
 */
public class CollectionTypeBean {
    /**
     * Property constant for {@link #getList()}/{@link #setList(List)}. Type {@link List}.
     */
    public static final String ATTR_LIST = "list";

    /**
     * Property constant for {@link #getMap()}/{@link #setMap(Map)}. Type {@link Map}.
     */
    public static final String ATTR_MAP = "map";

    /**
     * Property constant for {@link #getSet()}/{@link #setSet(Set)}. Type {@link Set}.
     */
    public static final String ATTR_SET = "set";

    /** list property. */
    private List list;

    /** set property. */
    private Set set;

    /** map property. */
    private Map map;

    /**
     * @return Returns the list.
     */
    public List getList() {
        return list;
    }

    /**
     * @param list The list to set.
     */
    public void setList(List list) {
        this.list = list;
    }

    /**
     * @return Returns the set.
     */
    public Set getSet() {
        return set;
    }

    /**
     * @param set The set to set.
     */
    public void setSet(Set set) {
        this.set = set;
    }

    /**
     * @return Returns the map.
     */
    public Map getMap() {
        return map;
    }

    /**
     * @param map The map to set.
     */
    public void setMap(Map map) {
        this.map = map;
    }
}
